﻿#region Copyright 
/*-------------------------------------------------------------------------
* 命名空间名称/文件名:    SSPivot.Authorization.Authorize/JwtConfig 
* CLR版本:     4.0.30319.42000
* 机器名称:    DESKTOP-NHMLO8A
* 功 能：       N/A
* 类 名：       JwtConfig
* 创建时间：  2025/5/24 11:02:01
* 版本号：      v1.0
* 创建人:        xulong
*-------------------------------------------------------------------------*/
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SSPivot.Authorization.Authorize
{
    /// <summary>
    /// JWT配置
    /// </summary>
    public class JwtConfig
    {
        /// <summary>
        /// 加密Key
        /// </summary>
        public string SecurityKey { get; set; }

        /// <summary>
        /// 颁发者
        /// </summary>
        public string Issuer { get; set; }

        /// <summary>
        /// Accessoken受众
        /// </summary>
        public string Audience { get; set; }

        /// <summary>
        /// RefreshToken受众
        /// </summary>
        public string RefreshTokenAudience { get; set; }

        /// <summary>
        /// AccessToken过期时间，单位分钟
        /// </summary>
        public int Expire { get; set; }

        /// <summary>
        /// RefreshToken过期时间，单位分钟
        /// </summary>
        public int RefreshTokenExpire { get; set; }
    }
}
